﻿#pragma once


// CModifyPassword 对话框

class CModifyPassword : public CDialogEx
{
	DECLARE_DYNAMIC(CModifyPassword)
private:
	char* _workingDirectory;
public:
	CModifyPassword(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CModifyPassword();
	void CreateDefaultUserInfo(bool isSetDefualtInfos = true);

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_MODIFY_PASSWORD };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	CComboBox m_cbUserList;
	CEdit m_txtOldPassword;
	CEdit m_txtNewPassword;
	CEdit m_txtConfirmPassword;
	afx_msg void OnBnClickedConfirm();
	afx_msg void OnBnClickedCexit();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
};
